#include "ODN_Vector3D.h"

namespace ouden {

Ogre::Vector3 toOgreVector(opal::Vec3r vector) { return Ogre::Vector3(vector[0], vector[1], vector[2]); }
Ogre::Vector3 toOgreVector(opal::Point3r vector) { return Ogre::Vector3(vector[0], vector[1], vector[2]); }
opal::Vec3r toOpalVector(Ogre::Vector3 vector) { return opal::Vec3r(vector[0], vector[1], vector[2]); }
opal::Point3r toOpalPoint(Ogre::Vector3 vector) { return opal::Point3r(vector[0], vector[1], vector[2]); }
Ogre::Vector3 toOgreVector(ouden::Vector3D vector) { return Ogre::Vector3(vector[0], vector[1], vector[2]); }
Ogre::Quaternion toOgreQuaternion(opal::Quaternion quat) {return Ogre::Quaternion(quat[0], quat[1], quat[2], quat[3]); }
opal::Quaternion toOpalQuaternion(Ogre::Quaternion quat) {return opal::Quaternion(quat.w, quat.x, quat.y, quat.z); }

} //namespace ouden
